package com.itheima.demo.ticket;

public class TicketRunnableTest {
    public static void main(String[] args) {
        TicketRunnable tkr = new TicketRunnable();
        Thread tr1 = new Thread(tkr,"窗口一");
        Thread tr2 = new Thread(tkr,"窗口二");
        Thread tr3 = new Thread(tkr,"窗口三");
        tr1.start();
        tr2.start();
        tr3.start();

    }

}
